package com.org.api.admin.dao;

import com.github.devgcoder.locache.LoCacheable;
import com.org.api.admin.entity.vo.TestVo;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;

import org.apache.ibatis.annotations.Mapper;

/**
 * @author duheng
 * @Date 2021/11/20 21:01
 */
@Mapper
public interface TestMapper {

  //  @LoCacheable(cacheNames = "cache:testVo", key = "#arg0.pid", timeout = 5, timeUnit = TimeUnit.MINUTES)
//  @Cacheable(cacheNames = "cache:testVo", key = "#root.args[0]['pid']")
//  @LoCacheable(cacheNames = "cache:testVo", key = "#testVo.pid", timeout = 5, timeUnit = TimeUnit.MINUTES,cacheThreadNumber = 5)
  List<Map<String,Object>> list(TestVo testVo);

  List<Map<String, Object>> listBigData(TestVo testVo);
}
